<template>
  <view class="content">
    <image class="logo" src="/static/logo.png" @click="query" />
    <view class="text-area">
      <text class="title">{{ title }}</text>
    </view>
    <sas-title />
  </view>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import { useTaskStore } from '@/store/task';
import api from '@/utils/api'
const title = ref('Hello')

const taskStore = useTaskStore()
console.log(taskStore)

function query() {
  api.queryCityJson()
  // api.queryTasks()
}
</script>

<style lang="scss">
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .logo {
    height: 200rpx;
    width: 200rpx;
    margin-top: 200rpx;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50rpx;
    border-radius: 50%;
  }
}
</style>
